<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <meta
      name="viewport"
      content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"
    />

    <title>菜单栏图标悬停效果</title>
    <link rel="stylesheet" href="../../libs/font-awesome.min.css">
    <link rel="stylesheet" href="index.css" />

    <link rel="icon" type="image/x-icon" href="../../../favicon.ico" />
</head>

  <body>
    <nav class="nav">
      <ul class="menu">
        <li class="item">
          <a href="#" class="link">
            <i class="fa fa-home" aria-hidden="true"></i>
            <span>首页</span>
          </a>
        </li>
        <li class="item">
          <a href="#" class="link">
            <i class="fa fa-heart" aria-hidden="true"></i>
            <span>动态</span>
          </a>
        </li>
        <li class="item">
          <a href="#" class="link">
            <i class="fa fa-plus-circle" aria-hidden="true"></i>
            <span>发布</span>
          </a>
        </li>
        <li class="item">
          <a href="#" class="link">
            <i class="fa fa-bell" aria-hidden="true"></i>
            <span>消息</span>
          </a>
        </li>
        <li class="item">
          <a href="#" class="link">
            <i class="fa fa-user" aria-hidden="true"></i>
            <span>我的</span>
          </a>
        </li>
      </ul>
    </nav>
  </body>
</html>
